package com.ruoyi.withdraw.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 提现申请对象 tb_finance_apply
 * 
 * @author wuxiao
 * @date 2024-12-19
 */
public class withdraw extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 提现申请编号 */
    private Long applyId;

    /** 司机编号 */
    @Excel(name = "司机编号")
    private Long driverId;

    /** 账户编号 */
    @Excel(name = "账户编号")
    private Long acountId;

    /** 提现金额 */
    @Excel(name = "提现金额")
    private BigDecimal withdrawalAmount;

    /** 审核状态 */
    @Excel(name = "审核状态")
    private String auditStatus;

    /** 提现时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提现时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date withdrawalTime;


    public String getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(String auditStatus) {
        this.auditStatus = auditStatus;
    }

    public void setApplyId(Long applyId)
    {
        this.applyId = applyId;
    }

    public Long getApplyId() 
    {
        return applyId;
    }
    public void setDriverId(Long driverId) 
    {
        this.driverId = driverId;
    }

    public Long getDriverId() 
    {
        return driverId;
    }
    public void setAcountId(Long acountId) 
    {
        this.acountId = acountId;
    }

    public Long getAcountId() 
    {
        return acountId;
    }
    public void setWithdrawalAmount(BigDecimal withdrawalAmount) 
    {
        this.withdrawalAmount = withdrawalAmount;
    }

    public BigDecimal getWithdrawalAmount() 
    {
        return withdrawalAmount;
    }
    public void setWithdrawalTime(Date withdrawalTime) 
    {
        this.withdrawalTime = withdrawalTime;
    }

    public Date getWithdrawalTime() 
    {
        return withdrawalTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("applyId", getApplyId())
            .append("driverId", getDriverId())
            .append("acountId", getAcountId())
            .append("withdrawalAmount", getWithdrawalAmount())
            .append("withdrawalTime", getWithdrawalTime())
            .append("auditStatus", getAuditStatus())
            .toString();
    }
}
